home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TeX 1995 July
/
TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO
/
tex-k
/
tex-k-archive.past
/
1994.12.gz
/
1994.12
/
000082_tim@maths.tcd.ie_Thu Dec 22 14:27:10 1994.msg
< prev
next >
Wrap
Internet Message Format
|
1994-12-30
|
2KB
Received: from salmon.maths.tcd.ie by cs.umb.edu with SMTP id AA28375
(5.65c/IDA-1.4.4 for <tex-k@cs.umb.edu>); Thu, 22 Dec 1994 14:27:10 -0500
Received: from hamilton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP
id aa15539; 22 Dec 94 19:27 GMT
Subject: Re: problems with web2c.kpathsea-2.5.help
To: David Starks-Browning <dstarks@willard.rc.tudelft.nl>
Date: Thu, 22 Dec 1994 19:27:02 (GMT)
From: Timothy Murphy <tim@maths.tcd.ie>
Cc: tex-k@cs.umb.edu
In-Reply-To: <9412221646.AA10466@willard.rc.tudelft.nl> from "David Starks-Browning" at Dec 22, 94 06:46:27 pm
X-Mailer: ELM [version 2.4 PL21]
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length: 986
Message-Id: <9412221927.aa27104@hamilton.maths.tcd.ie>
>
> I am having difficulty compiling web2c-6.1 with the patch in
> web2c.kpathsea-2.5.help. I get a segmentation fault during "make
> run-triptrap".
...
> dbx shows:
...
> (dbx) where
> > 0 .strcmp.strcmp(0x0, 0x100063a4, 0x3d, 0x3c, 0x0, 0x46a150) ["atoi.c":56, 0x47480c]
> 1 kpse_make_tex(format = kpse_tfm_format, base = 0x100b89f9 = "mumble.tfm") ["tex-make.c":221, 0x46aacc]
Are you sure you had the latest web2c.kpathsea-2.5.help ?
This is exactly where Karl's code caused a problem,
because getenv() returned NULL if the environment variable wasn't defined.
The code round this point should read:
=========================================
mode = getenv ("MAKETEX_MODE");
if (mode && STREQ (mode, DIR_SEP_STRING))
xputenv ("MAKETEX_MODE", "");
args = arg_spec ? kpse_var_expand (arg_spec) : (string) "";
if (mode && STREQ (mode, DIR_SEP_STRING))
xputenv ("MAKETEX_MODE", DIR_SEP_STRING);
=========================================